<?php 
//File name disp.php
//landing) page

	class Disp extends CI_Controller
		{
			
				function __construct()
					{
						parent::__construct();
						//$this->load->model('test_model');
						//$data['main_content'] = 'erp_invoice_view';
						$this->load->model('disp_model');
						//$this->load->view($data['main_content']);
						$this->load->helper('url');
					}
					
				function index()
					{
						/*
						$chkbox=0;
						echo(count($_REQUEST['box']) ."Count<br/>" );
						for($i=0;$i<=(count($_REQUEST['box']));$i++)
							{
								echo($_REQUEST['box'][$i] . "Box:" . $i);
								//echo($_REQUEST['box'][$i] . "Inside for");
								if($_REQUEST['box'][$i] == "1")
									{
										$tmp = $i;
										//echo($_REQUEST['box'] . "Inside if");
										$chkbox[$i] = "task" . ($tmp+1);
										echo($chkbox[$i]);
									}
							}
						*/	
						//print_r($chkbox);	
						//echo site_url();
						$query = $this->disp_model->fun1();
						print_r($query);
						//echo $data['query1'] = $this->disp_model->count_row();
						//echo($data1. "yoyoyoyo");
						//$this->load->view('disp_view',$data);
					}
		}			
?>		